import Ajax from './ajax'

export default {
  SignIn: {
      getList(data,fn,errFn){
        Ajax.call(this, 'get', 'clock/cate/get-list', data, fn, errFn, true);
      },
      saveDetails(data, fn, errFn){
        Ajax.call(this, 'post', 'clock/cate/save-log', data, fn, errFn, true);
      },
      fileUpload(data,fn,errFn){
        Ajax.call(this, 'post','clock/cate/upload',data,fn,errFn,false);
      },
      Login(data, fn, errFn){
        Ajax.call(this, 'get', 'game/get-open-id.html', data, fn, errFn, false);
      }
  },
  Index:{
    getIndex(data, fn, errFn){
      Ajax.call(this, 'get', 'game.html', data, fn, errFn, true);
    },
  }
}
